package com.fuershiye.woman.monitor.beans;

/**
 * @author yongyongdong
 *
 * 具体的指标模型
 * 指标不可删除,只可修改
 *
 */
public class ViewIndicator {

	private Long id;
	private String name;
	/** 指标级别
	 * 一级（名称前无空格）
	 * 二级（名称前一个汉字空格）
	 * 三级（名称前两个汉字空格）
	 * 四级（名称前四个汉字空格）
	 */
	private Integer level;
	//指标编码
	private String code;
	//指标的类型 	表 indicator_type id
	private Long type;
	//指标的名称
	private String tname;
	//父级指标的id
	private Long pid;
	//父子指标的关系
	private Integer prule;
	//指标内的排序
	private Long sort;
	//指标的单位	表 unit id
	private String unit;
	//各十三五期间，该指标的基值
	private Double base;
	//各十三五期间，本指标的目标值
	private Double aim;
	//指标数值的有效位数 2
	private Integer places;
	//该指标是否是国家指标	0:不是(默认);1:是
	private Integer country;
	//该指标是否是省级监测指标	0:不是(默认);1:是
	private Integer province;
	/** com.fuershiye.woman.monitor.constants.MonitorType
	 * 监测指标的类型 1：妇女 2：儿童 3：经济 */
	private Integer monitor;
    //上报类型 1:必须上报;2:可免报;0:其他
	private Integer need;
	//数据是否公开:	0:其他(默认);1:可公开数据;2:仅内部可看
	private Integer sex;
	//数据是否公开:	0:否;1:是
	private Integer hide;
	//指标所属规则	package com.fuershiye.woman.monitor.constants.Rules
	private Integer rule;
	//指标描述
	private String description;
	//指标解释
	private String supplement;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public Integer getNeed() {
		return need;
	}
	public void setNeed(Integer need) {
		this.need = need;
	}
	public Integer getHide() {
		return hide;
	}
	public void setHide(Integer hide) {
		this.hide = hide;
	}
	public Double getAim() {
		return aim;
	}
	public void setAim(Double aim) {
		this.aim = aim;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setType(Long type) {
		this.type = type;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public void setPrule(Integer prule) {
		this.prule = prule;
	}
	public void setSort(Long sort) {
		this.sort = sort;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public void setPlaces(Integer places) {
		this.places = places;
	}
	public void setCountry(Integer country) {
		this.country = country;
	}
	public void setProvince(Integer province) {
		this.province = province;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public void setRule(Integer rule) {
		this.rule = rule;
	}
	public void setSupplement(String supplement) {
		this.supplement = supplement;
	}
	public void setBase(Double base) { this.base = base; }
	public void setMonitor(Integer monitor) {
		this.monitor = monitor;
	}
	public void setSex(Integer sex) { this.sex = sex; }

	public Integer getMonitor() {
		return monitor;
	}
	public Double getBase() {
		return base;
	}
	public String getSupplement() {
		return supplement;
	}
	public String getName() {
		return name;
	}
	public Long getType() {
		return type;
	}
	public Long getPid() {
		return pid;
	}
	public Integer getPrule() {
		return prule;
	}
	public Long getSort() {
		return sort;
	}
	public String getUnit() {
		return unit;
	}
	public Integer getPlaces() {
		return places;
	}
	public Integer getCountry() {
		return country;
	}
	public Integer getProvince() {
		return province;
	}
	public String getDescription() {
		return description;
	}
	public Integer getRule() {
		return rule;
	}
	public Integer getSex() { return sex; }

}

